<template>
  <van-tabbar route>
    <van-tabbar-item replace to="/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/category" icon="apps-o">分类</van-tabbar-item>
    <van-tabbar-item replace to="/cart" icon="cart-o" >购物车</van-tabbar-item>
    <van-tabbar-item replace to="/user" icon="user-o">用户</van-tabbar-item>
  </van-tabbar>
</template>
<script setup>
import {useCart} from "@/store/store.js"
let store=useCart()
</script>
